<?php

if ( ! defined('BASEPATH'))
    exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| MODULES ROUTES
| -------------------------------------------------------------------------
|
| 
|
| -------------------------------------------------------------------------
*/

// Modules
$route['modules']                          = "backend-modules/module";
$route['modules/add']                      = "backend-modules/module/add";
$route['modules/edit']                     = "backend-modules/module/edit";
$route['modules/edit/id/:num']             = "backend-modules/module/edit";
$route['modules/delete/id/:num']           = "backend-modules/module/delete";
$route['modules/preview/id/:num']          = "backend-modules/module/preview";

//$route['modules/delete/:any']              = "backend-modules/module/delete";
//$route['modules/delete_multiple']          = "backend-modules/module/delete_multiple";
//$route['modules/confirm_delete']           = "backend-modules/module/confirm_delete";
//$route['modules/confirm_delete/:any']      = "backend-modules/module/confirm_delete";
//$route['modules/confirm_update']           = "backend-modules/module/confirm_update_status";
//$route['modules/confirm_update/:any']      = "backend-modules/module/confirm_update_status";
//$route['modules/update_status/:any']       = "backend-modules/module/update_status";
//$route['modules/update_multiple']          = "backend-modules/module/update_multiple_statuses";
//$route['modules/more/:any']                = "backend-modules/module/more";
//$route['modules/contents/:any']            = "backend-modules/module/view_contents";
//$route['modules/:any']                     = "backend-modules/module";


// Modules API
$route['api/modules']                             = "backend-modules/module_api";
$route['api/modules/:num']                        = "backend-modules/module_api/module_by_id";

$route['api/modules/:any']                        = "backend-modules/module_api";



/* End of file routes.php */
/* Location: ./application/modules/backend-modules/config/routes.php */